Detecting Collisions

May 10, 2008 · 63 views · 0 comments

Detecting Collisions
taken by : Dedric Mauriac on Woodbridge (101, 79, 189)
blogHUD!

About

I've been playing a lot of Grand Theft Auto IV lately. One of the mini games within the game is playing darts. To be honest, darts in GTA is way too easy to play. It had me thinking about making a game of darts within SL. I figured as long as I could get the x/y position of where a dart hit an object, the rest would be some simple trigonometry to determine what area was hit. Unfortunately, collisions don't provide a method in which the x/y position was collided with, or the face that was hit. There is a dection available on the objects position, but it is based on the center of the object rather then the point of collision. Rotating the dart board at odd angels makes the problem worse. From Dedric Mauriac via blogHUD.com